Optimal. Leaf size=115 \[ \frac {8 a \sin (c+d x)}{15 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {16 a \sin (c+d x)}{15 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2772, 2771} \[ \frac {8 a \sin (c+d x)}{15 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {16 a \sin (c+d x)}{15 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2771
Rule 2772
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {7}{2}}(c+d x)} \, dx &=\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {4}{5} \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {5}{2}}(c+d x)} \, dx\\ &=\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8 a \sin (c+d x)}{15 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8}{15} \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {3}{2}}(c+d x)} \, dx\\ &=\frac {2 a \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {8 a \sin (c+d x)}{15 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {16 a \sin (c+d x)}{15 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 66, normalized size = 0.57 \[ \frac {2 \left (5 \sin \left (\frac {1}{2} (c+d x)\right )+2 \sin \left (\frac {5}{2} (c+d x)\right )\right ) \sec \left (\frac {1}{2} (c+d x)\right ) \sqrt {a (\cos (c+d x)+1)}}{15 d \cos ^{\frac {5}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.07, size = 71, normalized size = 0.62 \[ \frac {2 \, \sqrt {a \cos \left (d x + c\right ) + a} {\left (8 \, \cos \left (d x + c\right )^{2} + 4 \, \cos \left (d x + c\right ) + 3\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{15 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.40, size = 116, normalized size = 1.01 \[ \frac {4 \, \sqrt {2} {\left ({\left ({\left (5 \, {\left (3 \, \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} - 20\right )} \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} + 282\right )} \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} - 100\right )} \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} + 15\right )} \sqrt {a} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )}{15 \, {\left (\tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{4} - 6 \, \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} + 1\right )}^{\frac {5}{2}} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.16, size = 64, normalized size = 0.56 \[ -\frac {2 \left (8 \left (\cos ^{3}\left (d x +c \right )\right )-4 \left (\cos ^{2}\left (d x +c \right )\right )-\cos \left (d x +c \right )-3\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{15 d \sin \left (d x +c \right ) \cos \left (d x +c \right )^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.11, size = 237, normalized size = 2.06 \[ \frac {2 \, {\left (\frac {15 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {25 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {17 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {7 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{3}}{15 \, d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {7}{2}} {\left (\frac {3 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {3 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {\sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.37, size = 132, normalized size = 1.15 \[ \frac {8\,\sqrt {a\,\left (\cos \left (c+d\,x\right )+1\right )}\,\left (7\,\sin \left (c+d\,x\right )+4\,\sin \left (2\,c+2\,d\,x\right )+9\,\sin \left (3\,c+3\,d\,x\right )+2\,\sin \left (4\,c+4\,d\,x\right )+2\,\sin \left (5\,c+5\,d\,x\right )\right )}{15\,d\,\sqrt {\cos \left (c+d\,x\right )}\,\left (10\,\cos \left (c+d\,x\right )+8\,\cos \left (2\,c+2\,d\,x\right )+5\,\cos \left (3\,c+3\,d\,x\right )+2\,\cos \left (4\,c+4\,d\,x\right )+\cos \left (5\,c+5\,d\,x\right )+6\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________